package cn.skyquant.quant4j.api.dict;

public interface DictService {
    String SMS = "SMS";
    String Aliyun = "aliyun";
    String exchange = "exchange";
    String dukascopy = "dukascopy";
    String fund = "fund";

    Dictionary getDict(String sms);

    default Dictionary getAliyunDict(){
        return getDict(Aliyun);
    }
    default Dictionary getSmsDict(){
        return getDict(SMS);
    }
    default Dictionary getExchange(){
        return getDict(exchange);
    }
    default Dictionary getDukascopy(){
        return getDict(dukascopy);
    }
    default Dictionary getFund(){
        return getDict(fund);
    }
}
